﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing.Drawing2D;
using System.Drawing;

namespace YehbaLogin
{
   
    class NewRegion
    {
        //call GraphicsPath
        public GraphicsPath oPath=null;
   
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="pts">array of points</param>
        public NewRegion(Point[] pts)
        {
            oPath = new GraphicsPath();
            oPath.AddPolygon(pts);
        }

        /// <summary>
        /// property that returns new GraphicsPath
        /// </summary>
        public GraphicsPath getGraphicsPath
        {
            get
            {
                return oPath;
            }
        }
      
    }
}
